package com.gan.simple_init.annotation;

import com.gan.simple_init.common.enums.BusinessType;
import lombok.Data;

import java.lang.annotation.*;

/**
 * @author gbw
 * @date 2023/8/18
 */

@Target({ ElementType.PARAMETER, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface OperLog
{
    /**
     * 模块
     */
    public String title() default "";

    /**
     * 功能
     */
    public BusinessType businessType() default BusinessType.OTHER;


    /**
     * 排除指定的请求参数
     */
    public String[] excludeParamNames() default {};
}
